﻿//============================================================
//write by bxl at 2021-06-13 20:45:40
//============================================================


using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BCCommon.Enums;

namespace BCDto.CRM.BigCustomer
{
    /// <summary>
    /// 大客户信息 数据模型
    /// </summary> 
    public class BigCustomerViewDto
    {
        /// <summary>
        /// 大客户Id
        /// </summary>  
        public long BigCustomerId { get; set; }

        /// <summary>
        /// 大客户组Id
        /// </summary>
        public long? BigCustomerGroupId { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public int CompanyId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 客户信息Id
        /// </summary>
        public long? CustomerInfoId { get; set; }

        /// <summary>
        /// 大客户级别
        /// </summary>
        public int BigCustomerLevel { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 编辑人Id
        /// </summary>
        public long? EditAdminId { get; set; }

        /// <summary>
        /// 编辑人
        /// </summary>
        public string EditAdminName { get; set; }

        /// <summary>
        /// 优先指派
        /// </summary>
        public bool IsFristAssign { get; set; }



        /// <summary>
        /// 启用搬家
        /// </summary>
        public bool EnableMoveing { get; set; }

        /// <summary>
        /// 启用跑腿
        /// </summary>
        public bool EnableRunErrands { get; set; }

        /// <summary>
        /// 启用同城
        /// </summary>
        public bool EnableSameCity { get; set; }

        /// <summary>
        /// 启用小件
        /// </summary>
        public bool EnableSmallPieces { get; set; }


        /// <summary>
        /// 同城协议价格
        /// </summary>
        public decimal? SameCityPrice { get; set; }

        /// <summary>
        /// 小件协议价格
        /// </summary>
        public decimal? SmallPiecesPrice { get; set; }

        /// <summary>
        /// 同城协议价格最大重量
        /// </summary>
        public decimal? SameCityPriceMaxWeight { get; set; }

        /// <summary>
        /// 小件协议价格最大重量
        /// </summary>
        public decimal? SmallPiecesPriceMaxWeight { get; set; }
        /// <summary>
        /// 跑腿协议价格
        /// </summary>
        public decimal? RunErrandsPrice { get; set; }

        /// <summary>
        /// 跑腿协议价格最大重量
        /// </summary>
        public decimal? RunErrandsPriceMaxWeight { get; set; }


        ////////////////////////////////////
        //user
        ////////////////////////////////////

        /// <summary>
        /// 手机号
        /// </summary>	
        public string Phone { get; set; }
         
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName { get; set; }


        /// <summary>
        /// 最后登录时间
        /// </summary>	
        public DateTime LastLoginTime { get; set; }

        /// <summary>
        /// 当前登录时间
        /// </summary>	
        public DateTime CurrentlyLoginTime { get; set; }

        /// <summary>
        /// 登录IP地址
        /// </summary>
        public string LogonIp { get; set; }

        /// <summary>
        /// 登录IP转换地址
        /// </summary>
        public string AddressIp { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>	
        public string IdentityCardNo { get; set; }

        /// <summary>
        /// 用户积分
        /// </summary>	
        public int UserIntegrals { get; set; }

        /// <summary>
        /// 头像
        /// </summary>	
        public string Avatar { get; set; }

        /// <summary>
        /// 账号状态
        /// </summary>
        public AccountStatus AccountStatus { get; set; }
        /// <summary>
        /// 唯一码
        /// </summary>
        public string UniqueCode { get; set; }
        /// <summary>
        /// 合伙人Id
        /// </summary>
        public long? PartnerId { get; set; }
        /// <summary>
        /// 合伙人名称
        /// </summary>
        public string PartnerName { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string PassCode { get; set; }

        /// <summary>
        /// 验证码过期时间
        /// </summary>
        public DateTime? PassExpirationTime { get; set; }

        /// <summary>
        /// 用户账号角色
        /// </summary>
        public string Role { get; set; }

        /// <summary>
        /// 省份ID
        /// </summary>
        public string ProvinceCode { get; set; }
        /// <summary>
        /// 省份名称
        /// </summary>
        public string ProvinceName { get; set; }
        /// <summary>
        /// 市ID
        /// </summary>
        public string CityCode { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public string CityName { get; set; }
        /// <summary>
        /// 区县ID
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 区县名称
        /// </summary>
        public string CountyName { get; set; }

        /// <summary>
        /// 微信UnionId
        /// </summary>
        public string UnionId { get; set; }

        /// <summary>
        /// VIP用户
        /// </summary>
        public bool IsVip { get; set; }

        /// <summary>
        /// 企业用户
        /// </summary>
        public bool IsEnterprise { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        /// 用户评分
        /// </summary>
        public decimal? EvaluationScore { get; set; }

        /// <summary>
        /// 用户评级
        /// </summary>
        public GradeType UserLevel { get; set; }
        /// <summary>
        /// 是否领取红包
        /// </summary>
        public bool IsReceiveRedPacket { get; set; }

        /// <summary>
        /// 微信昵称
        /// </summary>
        public string Nickname { get; set; }
    }
}
